package com.neu.cpsp.pojo;
/*
    @author neu.xiangwenjuan
    @create 2022/3/13
*/

import java.util.Arrays;

public class DepartmentFromCompany {
    private String success;

    private String msg;

    private DepartmentFromCompanyData[] data;

    public DepartmentFromCompany() {
    }

    public DepartmentFromCompany(String success, String msg, DepartmentFromCompanyData[] data) {
        this.success = success;
        this.msg = msg;
        this.data = data;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DepartmentFromCompanyData[] getData() {
        return data;
    }

    public void setData(DepartmentFromCompanyData[] data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "DepartmentFromCompany{" +
                "success='" + success + '\'' +
                ", msg='" + msg + '\'' +
                ", data=" + Arrays.toString(data) +
                '}';
    }
}
